<?php
class Auth extends Model {

    function Auth() {
        parent::Model();
    }

    function login($login){

        $query = $this->db->query('select * from Auth where User = "' . $login . '" limit 1');
        return $query->row();

    }

}
?>
